//
//  RechangeCell.m
//  DaoZiJinFu
//
//  Created by woker on 16/6/27.
//  Copyright © 2016年 iwoker. All rights reserved.
//

#import "RechangeCell.h"

@implementation RechangeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _rechanceLabel.textColor = DEFAULTCOLOR;
    _withDrawBtn.textColor = DEFAULTCOLOR;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

+ (instancetype)cellWithTableView:(UITableView *)tableView {
    RechangeCell *cell = [tableView dequeueReusableCellWithIdentifier:RECHANGE_CELL];
    if (!cell) {
        cell = [[RechangeCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:RECHANGE_CELL];
    }
    return cell;
}

- (IBAction)rechangeClick:(id)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"rechangeCash" object:self];
}

- (IBAction)withdrawalsClick:(id)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"withdrawalsCash" object:self];
}

@end
